<?php

Route::group(array('prefix' => 'foo','module'=>'foo', 'namespace' => 'App\Modules\Foo\Controllers'), function() {
    Route::controller('/', 'FooController');
});